package com.tsj;

import com.tsj.common.Invocation;
import com.tsj.protocol.HttpClient;
import com.tsj.proxy.ProxyFactory;

/**
 * @Author tsj
 * @Date 2023/11/15/14:20
 */
public class Consumer {
    public static void main(String[] args) {

        HelloService helloService = ProxyFactory.getProxy(HelloService.class);
        String result = helloService.sayHello("tsj");
        System.out.println(result);




    }
}
